package com.coldchain.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author fangliai
 * @since 2018-10-17
 */
public class PlanOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "plan_id", type = IdType.AUTO)
    private Integer planId;

    private String userId;

    private String orderId;

    private String bizId;

    /**
     * 1 日 2 周 3 月
     */
    private Integer planType;

    /**
     * 每日多少点  每周第几天 每月第几天
     */
    private String day;

    /**
     * 创建时间
     */
    private Date createtime;


    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getBizId() {
        return bizId;
    }

    public void setBizId(String bizId) {
        this.bizId = bizId;
    }

    public Integer getPlanType() {
        return planType;
    }

    public void setPlanType(Integer planType) {
        this.planType = planType;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "PlanOrder{" +
        "planId=" + planId +
        ", userId=" + userId +
        ", orderId=" + orderId +
        ", bizId=" + bizId +
        ", planType=" + planType +
        ", day=" + day +
        ", createtime=" + createtime +
        "}";
    }
}
